fix(landing): contain sr-only logos heading to stop phantom root scrollbar#5585
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryLow Risk Overview Those sections use an Reviewed by Cursor Bugbot for commit 3abf221. Configure here. |
|
@cursor review |
Greptile SummaryThis PR contains the hidden logos headings on landing pages.
Confidence Score: 5/5This looks safe to merge.
Important Files Changed
Reviews (1): Last reviewed commit: "fix(landing): contain sr-only logos head..." | Re-trigger Greptile |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 3abf221. Configure here.
Greptile SummaryThis PR contains the hidden logos headings within their landing-page sections. The main changes are:
Confidence Score: 5/5This looks safe to merge.
Important Files Changed
Reviews (2): Last reviewed commit: "fix(landing): contain sr-only logos head..." | Re-trigger Greptile |
Summary
/enterprisepage (and/solutions/*,/workflows) showed a second, real browser-level scrollbar that the home page didn't, causing a page-width shift when navigating between themSolutionsLogosRowandPlatformLogosRowwrap asr-only(position: absolute)<h2>in a<section>with noposition: relative, so the heading's containing block falls back to the document root. Its un-offset "static position" (wherever the logos section lands in the page) inflateddocument.documentElement's scroll height, producing a phantom root scrollbar in addition to the app's normal scroll containerrelativeto both sections'<section>wrapper — matching the existing convention already used byFeatures' ownsr-onlyheadingdocument.documentElement.scrollHeightnow equalsclientHeighton/enterprise,/solutions/it, and/workflows, matching/; no visual changeType of Change
Testing
Tested manually — ran the dev server, measured
document.documentElement.scrollHeightvsclientHeightbefore/after on/,/enterprise,/solutions/it,/workflows,/tables, and screenshotted the enterprise page to confirm no visual regression.Checklist